<script type="text/javascript" src="<?php echo $config_url; ?>catalog/view/javascript/jquery/cyclelite/swfobject.js"></script>
<style>
.pics { padding:0; margin:0 0 10px 0; overflow: hidden }
.pics img { padding:0; top:0; left:0 }
</style>
<center>
<Div id=Pic class="pics">
<SCRIPT type=text/javascript>
var picURL = new Array();
var textInfo = new Array();
var txtInfo =new Array();

<?php foreach($slide_images as $key=>$slide_image){ ?>
picURL.push("<?php echo $config_url . "image/" . $slide_image['file']; ?>")
textInfo.push("<?php echo $slide_image['url']; ?>");
txtInfo.push("<?php echo $slide_image['alt']; ?>");
<?php } ?>
var picURL_str = "";
var textInfo_str = "";
var txtInfo_str = "";

var newdata=new Array()

for (var i = 0; i<picURL.length; i++) {
	picURL_str += picURL[i]+"|";
	textInfo_str += textInfo[i]+"|";
	txtInfo_str += txtInfo[i]+"|";
}

var Pic = new SWFObject("<?php echo $config_url; ?>catalog/view/javascript/jquery/cyclelite/barswf.swf", "MP", "503", "210", "8", "");
Pic.addParam("quality", "best");
Pic.addParam("scale", "noscale");
//Pic.addParam("wmode", "transparent");
Pic.addVariable("picURL",picURL_str);
Pic.addVariable("textInfo",textInfo_str);
Pic.addVariable("txtInfo",txtInfo_str);
Pic.write("Pic");
</SCRIPT>
</DIV>
</center>